package cn.qingyun.gis.modules.scenes.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author LHJ
 * @description
 * @date 2024/8/16 18:30
 */
@Data
public class IndexTogetherRequest {
    //省市区网格码
    private String codeStr;
    //场景类型
    @NotEmpty(message = "场景类型不能为空！")
    private String type;
    //工号
    private String telNum;

    private String channelCode;
    //角色类型
    @NotNull(message = "角色类型不能为空！")
    private Integer roleType;

    //1省 2市 3区 4网格
    @NotNull(message = "聚合标识不能为空！")
    private Integer flag;

    @NotNull(message = "右上角经度不能为空")
    @ApiModelProperty(value = "右上角点 经度")
    private BigDecimal rtLon;

    @NotNull(message = "右上角点纬度不能为空")
    @ApiModelProperty(value = "右上角点 纬度")
    private BigDecimal rtLat;

    @NotNull(message = "左下角点经度不能为空")
    @ApiModelProperty(value = "左下角点 经度")
    private BigDecimal lbLon;

    @NotNull(message = "左下角点纬度不能为空")
    @ApiModelProperty(value = "左下角点 纬度")
    private BigDecimal lbLat;

    @NotNull(message = "当前经度不能为空")
    @ApiModelProperty(value = "当前经度")
    private BigDecimal lon;

    @NotNull(message = "当前纬度不能为空")
    @ApiModelProperty(value = "当前纬度")
    private BigDecimal lat;

    @ApiModelProperty(value = "距离")
    private Double distance;

    @ApiModelProperty(value = "是否随访")
    private Integer kwState;

    @ApiModelProperty(value = "是否是金牌建筑")
    private Integer isGoldBuild;
}
